package com.sx.medicinecard.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class SxOrderInfoBrushVo {

    private String orderId;

    private String channelCode;

    @Excel(name = "手机号",orderNum = "1",width = 20)
    private String phoneNo;

    @Excel(name = "渠道名称",orderNum = "0",width = 20)
    private String channelName;

    @Excel(name = "订单号",orderNum = "2",width = 20)
    private String yuankeOrderNo;

    @Excel(name = "流水号",orderNum = "7",width = 20)
    private String paySerialNumber;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "时间", format = "yyyy-MM-dd HH:mm:ss" , orderNum = "8",width = 20)
    private Date createTime;

    @Excel(name = "支付金额",orderNum = "9",width = 20)
    private BigDecimal payAmount;

    @Excel(name = "是否签约", replace = {"已解约_0", "签约_1","未签约_2"}, orderNum = "6", width = 20)
    private String isSignType;

    /**
     * 支付账户
     */
    @Excel(name = "支付账户",orderNum = "4",width = 20)
    private String payAccount;

    /**
     * 荷叶权益卡id
     */
    @Excel(name = "荷叶权益卡id",orderNum = "5",width = 20)
    private String heyeEquityCardId;

    /**
     * 退款状态
     */
    @Excel(name = "退款状态", replace = {"未退款_0", "退款中_1","已退款_2"}, orderNum = "10", width = 20)
    private String refundStatus;

    /**
     *
     */
    @Excel(name = "支付宝账号",orderNum = "3",width = 20)
    private String aliAccountName;

    /**
     * 是否有效
     */
    @Excel(name = "有效状态", replace = {"无效_0", "有效_1","有效_null"} ,orderNum = "11",width = 20)
    private String validStatus;
}
